package com.webproject.dao.equipmentManager;

import java.util.List;

import com.webproject.core.Page;
import com.webproject.entity.equipmentManager.Equipment;
import com.webproject.entity.equipmentManager.EquipmentCheckup;
import com.webproject.entity.equipmentManager.EquipmentType;

public interface EquipmentManagerDao {

	List<Equipment> queryEquipment(Page page);
	int queryEquipmentCount(Page page);
	void saveEquipment(Equipment equipment);
	void updateEquipment(Equipment equipment);
	void deleteEquipment(Equipment equipment);
	
	
	List<EquipmentCheckup> queryEquipmentCheckup(Page page);
	int queryEquipmentCheckupCount(Page page);
	void saveEquipmentCheckup(EquipmentCheckup equipmentCheckup);
	void updateEquipmentCheckup(EquipmentCheckup equipmentCheckup);
	void deleteEquipmentCheckup(EquipmentCheckup equipmentCheckup);
	
	
	
	List<EquipmentType> queryEquipmentType(Page page);
	int queryEquipmentTypeCount(Page page);
	void saveEquipmentType(EquipmentType type);
	void updateEquipmentType(EquipmentType type);
	void deleteEquipmentType(EquipmentType type);
}
